<?php


namespace App\Models\Game;

//装备鉴定

use Illuminate\Database\Eloquent\Model;

class EquipIdentify extends Model
{
    protected $table = "log_role_equip_identify";

    public function __construct(array $attributes = [])
    {
        global $gameArea; if (!$gameArea) $gameArea = 0;
        $this->setConnection('log_'.$gameArea);
        parent::__construct($attributes);
    }

    protected $casts = [
        'new_equip'=>'array'
    ];

}
